package br.com.wagnerpaz.battlemaniacs.view;

import java.io.IOException;
import java.io.PrintStream;
import java.net.Socket;

import br.com.wagnerpaz.battlemaniacs.generic.AbstractServer;

public class BattleManiacs extends AbstractServer
{
	public BattleManiacs(int port)
	{
		super(6060);
	}

	@Override
	public void service()
	{
		try
		{
			Socket socket = server.accept();
			
			PrintStream out = new PrintStream( socket.getOutputStream() );
			out.println("-- Battle Maniacs v.Alpha");
		}
		catch (IOException e)
		{
		}
	}
}